package com.kly.user.mapper;

import com.kly.user.db.entity.UserAccessEntity;
import com.kly.user.db.entity.UserAccessRongcloudEntity;
import com.kly.user.db.entity.UserEntity;
import com.kly.user.dto.UserAccessDto;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface UserAccessMapper {

    UserAccessEntity toEntity(UserAccessDto userAccessDto);

    UserAccessRongcloudEntity toRongCloudEntity(UserAccessDto userAccessDto);
}
